package com.magiccompass.alipay.barcode.constants;

public class AlipayPartnerConstants {
	// ALL PARAMETERS FOR ALIPAY
	public static final String _INPUT_CHAR_SET   	= "UTF-8";
	public static final String BIZ_CODE			 	= "OVERSEAS_MBARCODE_PAY";
	public static final String IDENTITY_CODE_TYPE	= "barcode";
	
	public static final String SERVICE_PAY       	= "alipay.acquire.overseas.spot.pay";
	public static final String SERVICE_CANCEL      	= "alipay.acquire.overseas.spot.cancel";
	public static final String SERVICE_REVERSE     	= "alipay.acquire.overseas.spot.reverse";
	public static final String SERVICE_REFUND      	= "alipay.acquire.overseas.spot.refund";
	public static final String SERVICE_QUERY      	= "alipay.acquire.overseas.query";
	
	public static final String SERVICE_CREATE_QRCODE = "alipay.commerce.qrcode.create";
	public static final String CREATE_QRCODE_BIZ_TYPE = "OVERSEASHOPQRCODE";
	
	public static final String SIGN_CHARSET      	= "UTF-8";
	public static final String SIGN_TYPE      	 	= "RSA";
	public static final String SIGN_ALGORITHMS 		= "SHA1WithRSA";
	
	// test server
	/*
	// ALIPAY GATEWAY
	public static final String ALIPAY_GATEWAY    = "https://mapi-hk.alipay.com/gateway.do";  // test server
	// ALL RSA KEYS
	public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
	public static final String SELF_PRIVATE_KEY  = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAPsV+ZV13nvRwVfcbvoVq26CZiUY0W3D1vaQWIE+8kMzTJ5fnZJaoC2NUGLNp/rM3OJvVr3F63Lt2cDEQuJ1AmZSPfPiXBvePk9Gf6XHkV4DIAlZEFKbn4ncDOE6gelK2ABO8RdP8BSd2uB2fkB1+LjmShQHwjMnMZmaT7kNpusjAgMBAAECgYAF3ZaOCknfRKAqqEijaPwvQbaXKURDNy7/ZZHbuxe3wCwLCxrIP3u8dK+rDzjcYArM82LoXgZJEgtjOHKDjc43f93eb9LWJOBIVdyFPICwCPLf3wir+59KP0M6P64jzxdnslW3uMTKKE+V1KHsWS4wppoWQl2w3PbYt8Pc1kgFUQJBAP4j/On467GZbkMZw0MQhcXRuXeaYIC/TjVkEE7kkJiuC+mSh8LpJGU6L4/cE9dg8dmPJTcmndeBokNC8cISRdsCQQD87EPwUMzmLUmpzAjOFr43Il2becns2OXHhUgoP0rHXSgbj2B7uAbx8MLsXB24a6l8+P3JwqwcEVYL4AhQ9IZZAkBKrNZvBZZz7AqLKvHGLf+wvcxKiZEbo5rec1WbaOvYASQ88LJ1oj3whKVfFyK5YaIO9FHSH8W3gj7klrIk/WuLAkAd7qgrrKRTKVDqc2cnXLGuPLbvS36GNTUcY72iZbsn1PKGMHWurpzDzUaESnKJ/NPWInGGiy9rMvIH/b9+NTIhAkEAkPOjmfa1WGxAR7lo2UXlkdO1F7JMyc9HgeB8GoZbJ1wNX9bHuugUtfR1hPvUIwPe+8e11rSp82lB7yczjeUl9w==";
	public static final String SELF_PUBLIC_KEY   = "";
	// ALIPAY PARTNER_ID
	public static final String PARTNER_ID      	= "2088021966645500";	// test server
	// NOTIFY_URL
	public static final String NOTIFY_URL           = "http://120.150.192.162:8080/alipayNotification/notify";   // test server
	// NOTIFICATION MD5 salt
	public static final String MD_SALT      	 = "bxpi3j3w17hkdmrd4nvwxj32yphetb5z";   //test server
	*/
	
	// production server
	//*
	// ALIPAY GATEWAY
	public static final String ALIPAY_GATEWAY    = "https://mapi-hk.alipay.com/gateway.do";  // test server
	// ALL RSA KEYSNZ product server
	public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	public static final String SELF_PRIVATE_KEY  = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKjWXvS1EgR7eeixQa25srLcEbNxP3oVCdQKgYLcvwULVU2Mi8Q2ZFYqe+325JrNEU9RfDBj4OFymGsDEcSkwX/MtkqM+5ZFkgbuLNhZMWLiRgKsIxaIbXmea4EP2qs+ls9mDSGsMVocBg1gqSZPxQWoW5edvRL1wNiNGpAR7A99AgMBAAECgYA37qSQbrfkUj+FrcszUTR4+lzG1HqR6AxUeZKEFrsVYbbFtQzMWLSOsw5RPBxpiAv2+eipYz0pkrwZn2+wdGBBe4Ci9xQrNjPUb4nQDLlTLsO3ChuN4YJd7WfTrbQBOqczL77wlE7m+yetmf+OZRmdhXFpDINAovYfJTXb8GEhBQJBANFUGJaW6iimWoAx9f5wedezYysQi7rBQcPP7qIcD6C5p1MsMK6yNLEo/uArleKKVoDXgjPLocRx/PI1wtZmOw8CQQDOeybYv5pi5ra1Dga5ZcbbfdBVeSBT3bl6WMYFX0C1yIYTBMhv6dF5jDHwPwTJb87rWJFvaSUvAvfRT3Os0vyzAkALZkoEgWl1F0IccxwTZCqufX1sDfWeEQI02LEFMQQE27dqByELknbeIv5mVNlPwfrd/15+1ZsUqKR+yEC5Dk4vAkAN3aVJLuy+MYIZfHylHJmTCcrgwoaSOzSGa8m4eKIO0w11339aTJhdkjWUTZcTs+dwVH1HvwbZNljP/IbnFzATAkEAqK23g6aPMgGlbfWiXlvxdcZoyvVhd5pC7lDkhDk6aGLj5s82lJaETlNj7AGbaXwZSLZElBZnJu3+WZlaZuN/rA==";
	public static final String SELF_PUBLIC_KEY   = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCo1l70tRIEe3nosUGtubKy3BGzcT96FQnUCoGC3L8FC1VNjIvENmRWKnvt9uSazRFPUXwwY+DhcphrAxHEpMF/zLZKjPuWRZIG7izYWTFi4kYCrCMWiG15nmuBD9qrPpbPZg0hrDFaHAYNYKkmT8UFqFuXnb0S9cDYjRqQEewPfQIDAQAB";
	// ALIPAY PARTNER_ID  NZ production server
	public static final String PARTNER_ID      	 = "2088221411747939";   //NZ production server
	// NOTIFY_URL NZ production server
	public static final String NOTIFY_URL           = "http://pay.magiccompass.co.nz/alipayNotification/notify"; // NZ server
	// NOTIFICATION MD5 salt
	public static final String MD_SALT      	 = "pwe94oncb19r1ogebms16uqaikq9cy03";   //NZ production server
	//*/
}